[PVFB][TOOLS] Don't unwatch the framebuffer frontend's state node just
authorSteven Smith <ssmith@xensource.com>
Fri, 1 Dec 2006 13:11:53 +0000 (13:11 +0000)
committerSteven Smith <ssmith@xensource.com>
Fri, 1 Dec 2006 13:11:53 +0000 (13:11 +0000)
because it want to state Closed.  Otherwise, we don't notice when
the node gets deleted, and can't reliably shut the backend down.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
tools/xenfb/xenfb.c

index 496a365079800bcc504b3b820c969b9abc911621..19ab6c9553f20cb69b66a96895ec76ac124a387e 100644 (file)
@@ -597,7 +597,6 @@ static int xenfb_on_state_change(struct xenfb_device *dev)
                xenfb_switch_state(dev, state);
                break;
        case XenbusStateClosed:
-               xs_unwatch(dev->xenfb->xsh, dev->otherend, "");
                xenfb_switch_state(dev, state);
        }
        return 0;